package com.ruoyi.app.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * APP用户时光故事业务对象 app_story
 *
 * @author heike
 * @date 2025-03-22
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class AppStoryBo extends BaseEntity {

    /**
     * ID
     */
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 图片地址
     */
    @NotBlank(message = "图片不能为空", groups = {AddGroup.class, EditGroup.class})
    private String imageUrl;

    /**
     * 图片宽度
     */
    @NotNull(message = "图片宽度不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long width;

    /**
     * 图片高度
     */
    @NotNull(message = "图片高度不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long height;

    /**
     * 简述
     */
    private String sketch;

    /**
     * 地理位置
     */
    private String address;

    /**
     * 帐号状态(0=正常,1=停用)
     */
    private String status;


}
